Dynamic function tests and pituitary imaging